package com.dmz.workflow.dao;

import com.dmz.workflow.entity.ProcessJson;

import java.util.List;
import java.util.Map;

public interface ApprovalNodeMapper {

    int saveFlowJson(ProcessJson processJson);

    String findWorkJson(String processDefinitionId);

    void deleteProcessByWid(String processDefinitionId);

    void removeJsonByWid(String processDefinitionId);

    List<String> queryToDoList(Map<String,Object> requestParameter);

    int queryMemberApprovingTask(Map<String,Object> requestParameter);

    Integer countToDoList(Map<String,Object> requestParameter);

    int updateTaskFormData(String processInstanceId, String formData);
}